package club.zbiao.modules.system.service.query;

import club.zbiao.modules.system.domain.Menu;
import club.zbiao.modules.system.repo.MenuRepository;
import club.zbiao.modules.system.service.dto.MenuDTO;
import club.zbiao.modules.system.service.mapper.MenuMapper;
import club.zbiao.modules.system.service.spec.MenuSpec;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author jie
 * @date 2018-12-17
 */
@Service
@CacheConfig(cacheNames = "menu")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class MenuQueryService extends BaseQueryServiceImpl<MenuDTO, Menu, MenuMapper,MenuSpec, MenuRepository> {

}
